package com.yict.csms.resourceplan.dao;

import java.util.Date;
import java.util.List;

import com.yict.common.dao.IBaseDao;
import com.yict.csms.resourceplan.entity.BoxContractor;
import com.yict.csms.system.entity.DataDict;
import com.yict.csms.system.entity.User;

public interface IBoxContractorDao extends IBaseDao<BoxContractor, Long> {
	public String getMaxWorkNo(Date date);
	
	public BoxContractor fingByWorkNo(String workNo);
	
	public BoxContractor fingWorkNoByBoxNum(String BoxNum);

	public boolean commitAll(List<Long> bcIds, DataDict status, User us, Date date);

	public boolean backAssigned(List<Long> bcId, DataDict status, User us, Date date);

	boolean backAssigned(Long bcId, DataDict status, User us);
}
